package cn.it.http;

import org.aspectj.lang.annotation.Aspect;
import org.aspectj.lang.annotation.Before;
import org.springframework.stereotype.Component;
import org.springframework.stereotype.Controller;


/*AOP*/
@Component
@Aspect
public class Logger {
    @Before("execution(* cn.it.http.Calimpl.*(..))")
    public void  show(){
        System.out.println("haha");
    }
}
